package scratch.InfoEssentials;

import java.util.logging.Level;
import java.util.logging.Logger;

public class InfoNode {
	private String title = "";
	private String forum = "";
	private String postTime = "";
	private String reportTime = "";
	private String summary = "";
	private String action = "";
	private String replyNumers = "";
	private String keywords = "";
	private String url = "";
	private String postUser = "";
	private String remark = "";
	
	
	
	public InfoNode(String url) {
		super();
		this.url = url;
	}

	public String toString(){
		StringBuffer buffer = new StringBuffer();
		buffer.append(title+"\t");
		buffer.append(forum+"\t");
		buffer.append(postTime+"\t");
		buffer.append(reportTime+"\t");
		buffer.append(summary+"\t");
		buffer.append(action+"\t");
		buffer.append(replyNumers+"\t");
		buffer.append(keywords+"\t");
		buffer.append(url+"\t");
		buffer.append(postUser+"\t");
		buffer.append(remark+"\t");
		
		return buffer.toString();
	}

	public String getTitle() {
		return title;
	}



	public void setTitle(String title) {
		Logger.getLogger("InfoNode").log(Level.INFO, "title<-"+title);
		this.title = title;
	}



	public String getForum() {
		return forum;
	}



	public void setForum(String forum) {
		Logger.getLogger("InfoNode").log(Level.INFO, "forum<-"+forum);
		this.forum = forum;
	}



	public String getPostTime() {
		return postTime;
	}



	public String getUrl() {
		return url;
	}



	public void setUrl(String url) {
		Logger.getLogger("InfoNode").log(Level.INFO, "url<-"+url);
		this.url = url;
	}



	public void setPostTime(String postTime) {
		Logger.getLogger("InfoNode").log(Level.INFO, "postTime<-"+postTime);
		this.postTime = postTime;
	}



	public String getReportTime() {
		return reportTime;
	}



	public void setReportTime(String reportTime) {
		Logger.getLogger("InfoNode").log(Level.INFO, "reportTime<-"+reportTime);
		this.reportTime = reportTime;
	}



	public String getSummary() {
		return summary;
	}



	public void setSummary(String summary) {
		Logger.getLogger("InfoNode").log(Level.INFO, "summary<-"+summary);
		this.summary = summary;
	}



	public String getAction() {
		return action;
	}



	public void setAction(String action) {
		Logger.getLogger("InfoNode").log(Level.INFO, "action<-"+action);
		this.action = action;
	}



	public String getReplyNumers() {
		return replyNumers;
	}



	public void setReplyNumers(String replyNumers) {
		Logger.getLogger("InfoNode").log(Level.INFO, "replyNumbers<-"+replyNumers);
		this.replyNumers = replyNumers;
	}



	public String getKeywords() {
		return keywords;
	}



	public void setKeywords(String keywords) {
		Logger.getLogger("InfoNode").log(Level.INFO, "keywords<-"+keywords);
		this.keywords = keywords;
	}



	public String getPostUser() {
		return postUser;
	}



	public void setPostUser(String postUser) {
		Logger.getLogger("InfoNode").log(Level.INFO, "postUser<-"+postUser);
		this.postUser = postUser;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		Logger.getLogger("InfoNode").log(Level.INFO, "remark<-"+remark);
		this.remark = remark;
	}
}
